package com.gy.api.pc.examine.service;


import com.gy.api.pc.examine.domain.vo.*;

import java.util.List;


public interface IExamineService {

    void  addExamine(ExamineAddVO examineAddVO);

    void  addExamineState(ExamineAddVO examineAddVO,Integer examineState);

    void  addExamineLog(ExamineLogAddVO examineLogAddVO);

    /**
     * 检查是否有审核中的流程
     * @param relatedId
     * @return
     */
    boolean checkExamine(String relatedId);


    ExamineRecordVO getCount();

    ExamineCompletedRecordVO getCompletedCount();

    List<HandleRecordVO> handleRecord(HandleRecordDto dto);

    List<HandleRecordVO> handleRecordPage(HandleRecordPageDto dto);

    List<ExamineLogVO> getNodesByFlowId(String flowId);

    ExamineLogVO getNodeById(String taskId);

    void withdraw(String businessId);
}
